﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HA.ModFlow.Domain.DomainLayer
{

    /// <summary>
    /// 用于表示水头等一维网格数据的特征
    /// </summary>
   public class HeadGrid
    {
       public HeadGrid(int i, int j, int k)
       {
           _gridHeads = new Point3D[i, j, k];
       }


       /// <summary>
       /// 内部表示的三维数组
       /// </summary>
       Point3D [, ,] _gridHeads;

       public Point3D[, ,] GridHeads
       {
           get { return _gridHeads; }


       }


       /// <summary>
       /// 有待测试
       /// </summary>
       public int RowsCount
       {
           get
           {

               return _gridHeads.GetLength(0);
           }
       }


       public int ColumnsCount
       {
           get
           {
               return _gridHeads.GetLength(1);
           }
       }


       public int LayersCount
       {
           get
           {

               return _gridHeads.GetLength(2);
           }
       }


    }
}
